// 保洁数据类型定义
export interface CleaningData {
  id: string;
  location: string;
  type: '卫生间' | '地面' | '垃圾桶';
  score: number;
  status: '优秀' | '良好' | '一般' | '需改进';
  cleanerId: string;
  cleanerName: string;
  timestamp: string;
  floor: number;
  building: string;
  issues?: string[];
}

export interface Cleaner {
  id: string;
  name: string;
  phone: string;
  assignedAreas: string[];
  todayTasks: number;
  completedTasks: number;
  averageScore: number;
  status: '在岗' | '休息' | '离岗';
}

export interface CleaningPoint {
  id: string;
  name: string;
  type: '卫生间' | '地面' | '垃圾桶';
  x: number;
  y: number;
  score: number;
  isClean: boolean;
  lastCleaned: string;
}

export interface FloorData {
  floor: number;
  building: string;
  points: CleaningPoint[];
}
